<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
<form th:action="@{/login/login}" method="post">
    用户名：<input type="text" name="uname" placeholder="请输入内网名称"><br>
    密码：<input type="password" name="pwd" placeholder="请输入内网密码"><br>
    <input type="submit" value="登录"><br>
    <span>
        如果没有账户请注册==>
        <a th:href="@{/login/toRegister}">注册</a>
    </span>
</form>
</body>
</html>